package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.ColorSensor;
import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by jychuah on 11/3/13.
 */
public class MyOtherNXTThread extends NXTThread {
    public MyOtherNXTThread() {
        setNXTThreadName("Spaghetti");
    }
    public void run() {

        runMotor(PORT_A, 75);
        runMotor(PORT_B, -70);
        wait(300);
        stopMotor (PORT_A);
        stopMotor(PORT_B);
        wait (10) ;
        runMotor(PORT_A, 100);
        runMotor(PORT_B, 100);
        wait(2500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset ();



    }
}
